package com.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.base.BasePageReq;
import com.entity.Collection;
import com.res.CollectionRes;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
public interface CollectionRepository extends BaseMapper<Collection> {
    IPage<CollectionRes> searchPage( Page<CollectionRes> page, @Param("req") BasePageReq req);
}
